import static org.junit.Assert.*;

import org.junit.Test;


public class TestThread {

	@Test
	public void test() {
		int min = -1000;
		int max =500;
		int[] grenze = {0,0};
		 grenze = Main.haupmethode(min, max, 50, 1, -49);
		assertEquals(min-50, grenze[0]);
		assertNotEquals(max+19, grenze[1]);
		assertNotEquals(502, grenze[2]);
		
		
		
		
		
	}

}
